Webdados\InvoiceXpressWooCommerce\BaseController D

Total Complexity 194
Dependencies 5
Dependents 0
Total lines 1,378
Lines of code 925
Logical lines of code 446
Comment lines 349
Methods 27
Properties 6

Methods 27

Method Rating Maintainability Complexity Lines of code
getOrderItemsForDocument()
D
28
33 141
getAndSendPDF()
C
28
21 157
finalize_document()
C
29 21 133
process_items()
B
42 17 48
storeAndNoteDocument()
B
35 14 82
send_invoice_email()
A
37 10 72
preventDocumentIssuingLogger()
A
50 12 26
get_due_date()
A
50 11 28
get_vat_name()
A
52 10 25
find_sequence_id()
A
50 9 26
check_order_is_euro()
S
49 5 33
preventDocumentIssuing()
S
55 5 21
changeOrderState()
S
54 3 21
get_document_client_name()
S
60 3 13
registerSettingsOptionsValidation()
S
60 2 15
can_send_non_woocommerce_email()
S
76 3 3
registerSettingsOptions()
S
63 2 12
format_string()
S
66 2 8
doActionEmail()
S
69 2 6
get_order_number()
S
77 2 3
noteDocumentFailedPDF()
S
60 1 13
doActionFinalize()
S
74 1 4
__construct()
S
66 1 9
draft_document_note()
S
65 1 9
getDocumentPDF()
S
64 1 10
order_item_title()
S
74 1 4
get_email_placeholders()
S
79 1 3